home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / PROTO212.ARJ / SOURCE3.C < prev    next >
C/C++ Source or Header  |  1991-03-23  |  537b  |  28 lines

  1. #include "header.h"
  2. /*
  3.     Perform one transaction without prompting the user.
  4.     This function assumed a yes to each questions.
  5.  
  6.     The function returns immediatly without waiting for
  7.     the background process to fully complete the transaction. See
  8.     function xsys_flush().
  9. */
  10. int xsys_batch (void)
  11. {
  12.     ....
  13. }
  14.  
  15. /*
  16.     Complete any pending transactions.
  17.  
  18.     This function must be called only in this and this and this
  19.     situation.
  20.  
  21.     Return the number of transactions that has been completed.
  22. */
  23. int xsys_flush (void)
  24. {
  25.     ...
  26. }
  27.  
  28.